<div ng-app="importModule">
	<div ng-controller="ImportController">
		<div class="row">
			<div class="col-lg-6 col-lg-offset-3">
				<button class="btn btn-lg btn-block label-import" ng-click="uploadFileImport()">Importer les Séjours</button>

				<div class="controls">
			        <span class="btn fileinput-button-import btn-lg btn-block btn-import btn-voir-import">
			            <i class="fa  fa-plus-circle"></i>
			            <input type="file" name="file" data-url="uploadImageSejour" upload>
			            <span>Parcourir...</span>
			        </span>
			        <input type="hidden" ng-model="import.fichierSejours" />
			    </div>

			    <div id="import-piecejointe">
					<span ng-show="files.length && !percentage">{{ files[0].name | truncate:20 }}   <em>({{ files[0].size | sizeConverterFilter:1 }})</em></span>
					<span ng-show="files.length && percentage">En cours de téléchargement</span>

					<div class="progress" ng-show="percentage">
					    <div class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width: {{percentage}}%;">
					    	<span>{{percentage}}% Complete</span>
					    </div>
					</div>
					<span ng-show="!files.length && !percentage && !import.fichierSejours">
						Aucune image
					</span>
				</div>

			</div>
		</div>
		
	</div>
</div>